package com.svms.save.entitys;

import java.io.Serializable;

/**
 * @author 
 */
public class SvdaZwxxx implements Serializable {
    /**
     * 主键序列
     */
    private Long objectid;

    /**
     * 关联置物柜编号
     */
    private String glzwgbh;

    /**
     * 置物箱编号
     */
    private String zwxbh;

    /**
     * 置物箱完整编号
     */
    private String zwxwzbh;

    /**
     * 置物箱当前状态
     */
    private String zwxzt;

    /**
     * 置物箱储物关联编号
     */
    private String zwxcwbh;

    /**
     * 置物箱存放物品类型
     */
    private String zwxcfwplx;

    /**
     * 操作时间
     */
    private String czsj;

    /**
     * 操作标示
     */
    private String czbs;

    /**
     * 操作人
     */
    private String czr;

    /**
     * 操作单位
     */
    private String czdw;

    private static final long serialVersionUID = 1L;

    public Long getObjectid() {
        return objectid;
    }

    public void setObjectid(Long objectid) {
        this.objectid = objectid;
    }

    public String getGlzwgbh() {
        return glzwgbh;
    }

    public void setGlzwgbh(String glzwgbh) {
        this.glzwgbh = glzwgbh;
    }

    public String getZwxbh() {
        return zwxbh;
    }

    public void setZwxbh(String zwxbh) {
        this.zwxbh = zwxbh;
    }

    public String getZwxwzbh() {
        return zwxwzbh;
    }

    public void setZwxwzbh(String zwxwzbh) {
        this.zwxwzbh = zwxwzbh;
    }

    public String getZwxzt() {
        return zwxzt;
    }

    public void setZwxzt(String zwxzt) {
        this.zwxzt = zwxzt;
    }

    public String getZwxcwbh() {
        return zwxcwbh;
    }

    public void setZwxcwbh(String zwxcwbh) {
        this.zwxcwbh = zwxcwbh;
    }

    public String getZwxcfwplx() {
        return zwxcfwplx;
    }

    public void setZwxcfwplx(String zwxcfwplx) {
        this.zwxcfwplx = zwxcfwplx;
    }

    public String getCzsj() {
        return czsj;
    }

    public void setCzsj(String czsj) {
        this.czsj = czsj;
    }

    public String getCzbs() {
        return czbs;
    }

    public void setCzbs(String czbs) {
        this.czbs = czbs;
    }

    public String getCzr() {
        return czr;
    }

    public void setCzr(String czr) {
        this.czr = czr;
    }

    public String getCzdw() {
        return czdw;
    }

    public void setCzdw(String czdw) {
        this.czdw = czdw;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SvdaZwxxx other = (SvdaZwxxx) that;
        return (this.getObjectid() == null ? other.getObjectid() == null : this.getObjectid().equals(other.getObjectid()))
            && (this.getGlzwgbh() == null ? other.getGlzwgbh() == null : this.getGlzwgbh().equals(other.getGlzwgbh()))
            && (this.getZwxbh() == null ? other.getZwxbh() == null : this.getZwxbh().equals(other.getZwxbh()))
            && (this.getZwxwzbh() == null ? other.getZwxwzbh() == null : this.getZwxwzbh().equals(other.getZwxwzbh()))
            && (this.getZwxzt() == null ? other.getZwxzt() == null : this.getZwxzt().equals(other.getZwxzt()))
            && (this.getZwxcwbh() == null ? other.getZwxcwbh() == null : this.getZwxcwbh().equals(other.getZwxcwbh()))
            && (this.getZwxcfwplx() == null ? other.getZwxcfwplx() == null : this.getZwxcfwplx().equals(other.getZwxcfwplx()))
            && (this.getCzsj() == null ? other.getCzsj() == null : this.getCzsj().equals(other.getCzsj()))
            && (this.getCzbs() == null ? other.getCzbs() == null : this.getCzbs().equals(other.getCzbs()))
            && (this.getCzr() == null ? other.getCzr() == null : this.getCzr().equals(other.getCzr()))
            && (this.getCzdw() == null ? other.getCzdw() == null : this.getCzdw().equals(other.getCzdw()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getObjectid() == null) ? 0 : getObjectid().hashCode());
        result = prime * result + ((getGlzwgbh() == null) ? 0 : getGlzwgbh().hashCode());
        result = prime * result + ((getZwxbh() == null) ? 0 : getZwxbh().hashCode());
        result = prime * result + ((getZwxwzbh() == null) ? 0 : getZwxwzbh().hashCode());
        result = prime * result + ((getZwxzt() == null) ? 0 : getZwxzt().hashCode());
        result = prime * result + ((getZwxcwbh() == null) ? 0 : getZwxcwbh().hashCode());
        result = prime * result + ((getZwxcfwplx() == null) ? 0 : getZwxcfwplx().hashCode());
        result = prime * result + ((getCzsj() == null) ? 0 : getCzsj().hashCode());
        result = prime * result + ((getCzbs() == null) ? 0 : getCzbs().hashCode());
        result = prime * result + ((getCzr() == null) ? 0 : getCzr().hashCode());
        result = prime * result + ((getCzdw() == null) ? 0 : getCzdw().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", objectid=").append(objectid);
        sb.append(", glzwgbh=").append(glzwgbh);
        sb.append(", zwxbh=").append(zwxbh);
        sb.append(", zwxwzbh=").append(zwxwzbh);
        sb.append(", zwxzt=").append(zwxzt);
        sb.append(", zwxcwbh=").append(zwxcwbh);
        sb.append(", zwxcfwplx=").append(zwxcfwplx);
        sb.append(", czsj=").append(czsj);
        sb.append(", czbs=").append(czbs);
        sb.append(", czr=").append(czr);
        sb.append(", czdw=").append(czdw);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}